<?php


namespace app\admin\model;

use traits\model\SoftDelete;

class Docu extends Base
{
    use SoftDelete;

    protected $autoWriteTimestamp = 'datetime';
//    protected $pk = 'docu_id';
    //状态
    public function getStatusAttr($value)
    {
        $status = [1=>'应用',2=>'禁用'];
        return $status[$value];
    }
    //有可能写类型？？type 软件培训？视图的下面

}